import { WeaTools } from 'ecCom';

export const getMailFolder = params => WeaTools.callApi('/api/email/setting/getMailFolder', 'GET', params);

export const getEmailSize = params => WeaTools.callApi('/api/email/folder/getEmailSize', 'GET', params);

export const getFolderManagerList = params => WeaTools.callApi('/api/email/setting/getFolderManagerList', 'GET', params);

export const operateUserMailFolder = params => WeaTools.callApi('/api/email/setting/operateUserMailFolder', 'POST', params);

export const getMailFolderBean = params => WeaTools.callApi('/api/email/setting/getMailFolderBean', 'GET', params);
